package com.zuorenke.db.mybatis;

import com.zuorenke.db.extend.Page;
import com.zuorenke.model.po.Lesson;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Z.R.K
 * @description
 * @create 2019-04-08 10:49:42
 **/
public interface LessonMapper {
	Lesson getLessonById(@Param("lessonId") Long lessonId);
	List<Lesson> getLessonsByDate(@Param("startDate") String startDate, @Param("endDate") String endDate, Page page);
	Integer getLessonCntByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
